Change occurences of assert (0) into babl_fatal()
authorDanny Robson <danny@blubinc.net>
Sun, 19 Jul 2009 12:50:37 +0000 (22:50 +1000)
committerMartin Nordholts <martinn@src.gnome.org>
Sun, 19 Jul 2009 13:43:04 +0000 (15:43 +0200)
commitda4da8fbe0abfcb994a4d0fd2c93e6093daf457f
tree9d5b10f3f85d7a127f8c996ab84f70f354178185
parent79a4a198fe1a201be8d84186717964c26763e1ac
Change occurences of assert (0) into babl_fatal()

babl_fatal() is the more appropriate method to die upon failure, so
all instances of assert (0) have been changed into babl_fatal() with
some attempt of an error message.

In this process, the babl_fish_process() method was refactored into
using the existing case statement.

Bug #589027.
babl/babl-fish-stats.c
babl/babl-fish.c